/**
 * fyw
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getList = (params) => axios.post(`${SERVER.WHOLESALES}/ttOrderRefundDepot/queryOrderRefundDepot`, params)
// 查询详情
export const getDetail = (params) => axios.get(`${SERVER.WHOLESALES}/ttOrderRefundDepot/queryOrderRefundDepotDetail`, {
  params
})
// 审核驳回
export const rejectCheck = (params) => axios.post(`${SERVER.WHOLESALES}/ttOrderRefundDepot/rejectCheck`, params)

// 审核驳回
export const auditPass = (params) => axios.post(`${SERVER.WHOLESALES}/ttOrderRefundDepot/auditPass`, params)

/**
 * 车厂审核信息首页导出
 */
export const getClaimListForExport = (params) => axios.post(`${SERVER.WHOLESALES}/ttOrderRefundDepot/getListForExport`, params,{
  responseType: 'blob'
});
// 查询详情
export const queryAllUserOrder = (params) => axios.get(`${SERVER.WHOLESALES}/ttOrderRefundDepot/queryAllUserOrder`, {
  params
})
